#ifndef COMMON_GRAPHICS_FRAME_BUFFER_H
#define COMMON_GRAPHICS_FRAME_BUFFER_H


#include "GraphicsResource.h"


class RenderTarget;
class Texture;


class FrameBuffer : public GraphicsResource
{
public:
     explicit       FrameBuffer(const RenderTarget* depthStencil, const Texture* colour0=NULL, const Texture* colour1=NULL, const Texture* colour2=NULL, const Texture* colour3=NULL);
                    ~FrameBuffer();
};


void BindFrameBuffer(const FrameBuffer* buffer);
void SetFrameBufferMask(bool colour0Enabled, bool colour1Enabled, bool colour2Enabled, bool colour3Enabled);


#endif
